package idle;

import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelHandler;

/**
 * 重连检测，当发现当前的链路不稳定关闭之后，进行12次重连
 *
 * @author LONG
 * @date 2018/1/8 20:16
 */
public class ConnectionWatcher extends ConnectionWatcherAbstract {

    public ConnectionWatcher(Bootstrap bootstrap, String host, int port, boolean reconnect) {
        super(bootstrap, host, port, reconnect);
    }

    @Override
    public ChannelHandler[] handlers() {
        return new ChannelHandler[0];
    }

}
